const mongoose = require('mongoose');

mongoose.connect('mongodb+srv://15227402962:cai.15227402962@cluster0.uoc8t.mongodb.net/0302')
.then(()=>console.log('启动成功'))
.catch((err)=>console.log('启动失败',err));

module.exports = mongoose;